//
//  TribeHeader.h
//  yigou
//
//  Created by SunChao on 17/1/10.
//  Copyright © 2017年 hanyiwang. All rights reserved.
//

#ifndef TribeHeader_h
#define TribeHeader_h


//部落相关接口
#define T_TRIBEINDEX [NSString stringWithFormat:@"%@/hytribe/tribeInit", APIYIGOU]//部落首页
#define T_CREATETRIBE [NSString stringWithFormat:@"%@/hytribe/createTribe", APIYIGOU]//创建部落
#define T_ADMINOUTTRIBE [NSString stringWithFormat:@"%@//hytribe/adminOutTribe",APIYIGOU]//酋长踢人
#define T_IOSJOINTRIBE [NSString stringWithFormat:@"%@/hytribe/batchIOSJoinTribe",APIYIGOU]//批量加入部落(字符串分割传参数)
#define T_CTEATETRIBE [NSString stringWithFormat:@"%@/hytribe/createTribe",APIYIGOU]//创建部落
#define T_GETALLLABEL [NSString stringWithFormat:@"%@/hytribe/getAllLabel",APIYIGOU] //查询所有部落标签
#define T_GETCONTENTCOUNTBYTRIBEID [NSString stringWithFormat:@"%@/hytribe/getContentCountByTribeId",APIYIGOU] //获取部落下的文章总数
#define T_GETHYTRIBELISTPAGE [NSString stringWithFormat:@"%@/hytribe/getHyTribeListPage",APIYIGOU] //获取所有部落
#define T_GETINBOXCOUNTBYUSERID [NSString stringWithFormat:@"%@/hytribe/getInboxCountByUserId",APIYIGOU] //根据用户获取的私信
#define T_GETINDEXMORECONTENT [NSString stringWithFormat:@"%@/hytribe/getIndexMoreContent",APIYIGOU] //首页获得更多内容
#define T_GETMYCREATEHYTRIBELIST [NSString stringWithFormat:@"%@/hytribe/getMyCreateHyTribeList",APIYIGOU] //更多我创建的部落(app列表显示用)
#define T_GETMYJOINALLHYTRIBE [NSString stringWithFormat:@"%@/hytribe/getMyJoinAllHyTribe",APIYIGOU] //我加入的全部部落列表(选择列表用)
#define T_GETMYJOINHYTRIBELIST [NSString stringWithFormat:@"%@/hytribe/getMyJoinHyTribeList",APIYIGOU] //更多我加入的部落
#define T_GETRANDOMTRIBEBG [NSString stringWithFormat:@"%@/hytribe/getRandomTribeBg",APIYIGOU] //选择部落背景图
#define T_GETSYSTRIBELABEL [NSString stringWithFormat:@"%@/hytribe/getSysTribeLabel",APIYIGOU] //获取部落系统标签
#define T_GETTOPMSG [NSString stringWithFormat:@"%@/hytribe/getTopMsg",APIYIGOU] //根据部落查询置顶消息
#define T_GETTRIBEBYLABEL [NSString stringWithFormat:@"%@/hytribe/getTribeByLabel",APIYIGOU] //根据标签查询部落
#define T_GETTRIBEBYUSERISMANGER [NSString stringWithFormat:@"%@/hytribe/getTribeByUserIsManger",APIYIGOU] //根据用户获取用户管理的部落
#define T_GETTRIBEMEMBERRANK [NSString stringWithFormat:@"%@/hytribe/getTribeMemberRank",APIYIGOU] //获取部落的成员排行榜
#define T_GETUSERALLOBJECT [NSString stringWithFormat:@"%@/hytribe/getUserAllObject",APIYIGOU] //查看他人资料页面接口
#define T_GETUSERCONTENT [NSString stringWithFormat:@"%@/hytribe/getUserContent",APIYIGOU] //查看他人资料内容翻页
#define T_GETUSERINFOBYTRIBEID [NSString stringWithFormat:@"%@/hytribe/getUserInfoByTribeId",APIYIGOU] //根据部落ID找酋长
#define T_GETRECOMMENDTRIBE [NSString stringWithFormat:@"%@/hytribe/getrecommendTribe",APIYIGOU] //更多推荐的部落
#define T_GROUPHYTRIBECONTENT [NSString stringWithFormat:@"%@/hytribe/groupHyTribeContent",APIYIGOU] //部落新增内容统计
#define T_GROUPHYTRIBEUSER [NSString stringWithFormat:@"%@/hytribe/groupHyTribeUser",APIYIGOU] //部落新增用户统计
#define T_GROUPHYUSERFOLLOW [NSString stringWithFormat:@"%@/hytribe/groupHyUserFollow",APIYIGOU] //用户新增粉丝统计
#define T_JOINTRIBE [NSString stringWithFormat:@"%@/hytribe/joinTribe",APIYIGOU] //加入部落接口
#define T_OUTTRIBE [NSString stringWithFormat:@"%@/hytribe/outTribe",APIYIGOU] //退出部落接口
#define T_SELECTTRIBEALLGOODSLIST [NSString stringWithFormat:@"%@/hytribe/selectTribeAllGoodsList",APIYIGOU] //部落获取商品接口
#define T_SELECTTRIBEGOODSBYTRIBEID [NSString stringWithFormat:@"%@/hytribe/selectTribeGoodsByTribeId",APIYIGOU] //部落最新淘宝接口
#define T_SEARCHTRIBE [NSString stringWithFormat:@"%@/hytribe/serarchTribe",APIYIGOU] //按名称搜索部落接口
#define T_SETCONCERN [NSString stringWithFormat:@"%@/hytribe/setConcern",APIYIGOU] //关注用户接口
#define T_SIGNTRIBE [NSString stringWithFormat:@"%@/hytribe/signTribe",APIYIGOU] //用户签到
#define T_STRIBEDETAIL [NSString stringWithFormat:@"%@/hytribe/tribeDetail",APIYIGOU] //获得部落详情信息

//文章帖子相关接口
#define T_ADDCOLLECT [NSString stringWithFormat:@"%@/hyContent/addCollect",APIYIGOU] //收藏对象(00商品 01内容)
#define T_ADDCOMMENT [NSString stringWithFormat:@"%@/hyContent/addComment",APIYIGOU] //发布评论接口
#define ADDCOMMENTBACK [NSString stringWithFormat:@"%@/hyContent/addCommentBack",APIYIGOU] //发布评论回复接口
#define ADDREPORT [NSString stringWithFormat:@"%@/hyContent/addReport",APIYIGOU] //添加举报接口
#define ADDSHARE [NSString stringWithFormat:@"%@/hyContent/addShare",APIYIGOU] //分享
#define DELCOLLECT [NSString stringWithFormat:@"%@/hyContent/delCollect",APIYIGOU] //删除收藏



#define RGBCOLOR(r, g, b)       [UIColor colorWithRed:(r)/255.0f green:(g)/255.0f blue:(b)/255.0f alpha:1]
#endif /* TribeHeader_h */
